package com.gxl.butt.dto.vo;

import java.io.Serializable;

/**
 * 返回 user 对象
 * Created by guoxiaolin on 2018/6/21.
 */

public class UserBean implements Serializable {

    private Long id;//用户uuid

    private String account;//用户账号

    private String passowrd;//用户密码

    private String nickname;//用户昵称

    private String idcard;//用户证件号

    private UserBean userBean;

    private String openid;

    public String getOpenid() {
        return openid;
    }

    public UserBean setOpenid(String openid) {
        this.openid = openid;
        return userBean;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }

    public String getIdcard() {
        return idcard;
    }

    public UserBean setIdcard(String idcard) {
        this.idcard = idcard;
        return userBean;
    }

    public Long getId() {
        return id;
    }

    public UserBean setId(Long id) {
        this.id = id;
        return userBean;
    }

    public String getAccount() {
        return account;
    }

    public UserBean setAccount(String account) {
        this.account = account;
        return userBean;
    }

    public String getPassowrd() {
        return passowrd;
    }

    public UserBean setPassowrd(String passowrd) {
        this.passowrd = passowrd;
        return userBean;
    }

    public String getNickname() {
        return nickname;
    }

    public UserBean setNickname(String nickname) {
        this.nickname = nickname;
        return userBean;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", passowrd='" + passowrd + '\'' +
                ", nickname='" + nickname + '\'' +
                ", idcard='" + idcard + '\'' +
                ", userBean=" + userBean +
                ", openid='" + openid + '\'' +
                '}';
    }
}
